
#ifndef FLASH_H__
#define FLASH_H__

int flash_unlock(void);
int flash_lock(void);

int flash_erase(unsigned int addr, unsigned int length);
int flash_write(unsigned int addr, unsigned int length, unsigned int mem_addr);

#endif